import workerInfoDetailTpl from './workerInfoDetail.html';
import workerInfoDetailCtrl from './workerInfoDetail.controller';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('workerInfoDetail', {
      parent: 'index',
      url: '/worker/detail/:id',
      templateUrl: workerInfoDetailTpl,
      controller: workerInfoDetailCtrl,
      controllerAs: 'vm',
    });
}

export default routeConfig;
